// parameters : arguments
const doSomething = function (params) {
  const a = 10;

  function doOtherthing() {
    console.log(a);
    console.log(params);
  }

  return doOtherthing;
};

const x = "abc";

const func = doSomething(11);

func();
